<?php
/**
 *
 * 提现（追梦者模板开发）
 *
 */
require_once(dirname(__FILE__)."/config.php");
CheckRank(0,0);
$mid = $cfg_ml->M_ID;
//计算实际到账金额
$kou = $money * $cfg_fuwufei;
$sjmoney = $money - $kou;
if($zhifubao != '')
{
	//提现记录
	$dsql->ExecuteNoneQuery("INSERT INTO `#@__member_paylist`(mid,money,sjmoney,zhifubao,xingming,phone,paytime,sta) VALUES ('".$cfg_ml->M_ID."','$money','$sjmoney','$zhifubao','$xingming','$phone','".time()."',0);");
	$zhi ='ok';
	echo $zhi;
	exit; 	    
}
else
{	

	$zhi ='no';
	echo $zhi;
	exit;
}